package com.example.demo.service;

import com.example.demo.dao.UserDao;
import com.example.demo.entity.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 郭峪诚
 * @version 1.0.0
 * @ClassName UserService.java
 * @Description TODO
 * @createTime 2021年03月09日 15:51:00
 */
@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public List<UserEntity> getList() {
        return userDao.getList();
    }
}
